import { Controller } from '@nestjs/common';
import { MessagePattern } from '@nestjs/microservices';

@Controller()
export class AppMessage {
  @MessagePattern('business')
  hello(data: any): string {
    return 'hello from business-service';
  }
}
